package com.aop.mapper;

import com.aop.entities.Payment;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;


/**
 * @Author: tgy
 * @Date: 2020-08-11 19:11
 */
public interface PaymentMapper extends BaseMapper<Payment> {


     int updatePayment(@Param("payment") Payment payment,@Param("version")Integer version);

     int updatePayment(Payment payment);

}
